#if !defined(AFX_NAVIGATEDLG_H__B66FC120_3099_4AD5_BB12_36CD2F8FAAA0__INCLUDED_)
#define AFX_NAVIGATEDLG_H__B66FC120_3099_4AD5_BB12_36CD2F8FAAA0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NavigateDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CNavigateDlg dialog

class CNavigateDlg : public CDialog, public CCustMsgBase
{
// Construction
public:
	void SetLoginUser(CString strLoginUser);
	void SetSerialNo(CString strSN);
	void SetVersionNo(CString strVersionNo);
	CNavigateDlg(CWnd* pParent = NULL);   // standard constructor
	~CNavigateDlg();

// Dialog Data
	//{{AFX_DATA(CNavigateDlg)
	enum { IDD = IDD_DIALOG_NAVIGATE };
	CBitmapButton	m_btnPatMan;
	CBitmapButton	m_btnRTCollect;
	CBitmapButton	m_btnDiagReport;
	CBitmapButton	m_btnSysConfig;
	CBitmapButton	m_btnHelpDoc;
	CBitmapButton	m_btnQuit;
	CString	m_strSerialNo;
	CString	m_strLoginUser;
	CString	m_strVersionNo;
	//}}AFX_DATA

	virtual void OnOK();
	virtual void OnCancel();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNavigateDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CNavigateDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPatientMan();
	afx_msg void OnButtonRtCollect();
	afx_msg void OnButtonDiagReport();
	afx_msg void OnButtonSysConfig();
	afx_msg void OnButtonHelp();
	afx_msg void OnQuit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	void			OnConnectProgress(WPARAM wParam, LPARAM lParam);
	void			OnBTConnectCompleted(WPARAM wParam, LPARAM lParam);

	static void	CALLBACK	AutoBackupDbTimerFunc(HWND hWnd, UINT nMsg, UINT nIDEvent, DWORD dwTime);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NAVIGATEDLG_H__B66FC120_3099_4AD5_BB12_36CD2F8FAAA0__INCLUDED_)
